﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

//测试listpanel
public class TextListPanel : ListPanel<TextListData,TextListItem>
{
    protected override void Start()
    {
        base.Start();

        List<TextListData> datas = new List<TextListData>();
        for (int i = 0; i < 12; i ++)
        {
            TextListData data = new TextListData();
            data.TestNum = i;
            datas.Add(data);
        }

        SetListData(datas);
    }
}
